Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.webengine.blogs.ecm.types

Contributions

XML Source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.webengine.blogs.ecm.types" version="1.0">

  <require>org.nuxeo.ecm.core.schema.TypeService</require>

  <extension target="org.nuxeo.ecm.core.schema.TypeService" point="configuration">
    <configuration>
      <prefetch>
        common.icon, dc:title, dc:modified, dc:contributors, dc:creator
      </prefetch>
    </configuration>
  </extension>

  <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">

    <type id="BlogSite">
      <label>BlogSite</label>
      <icon>/icons/blog_folder.png</icon>
      <bigIcon>/icons/blogsite_100.png</bigIcon>
      <category>Collaborative</category>
      <description>BlogSite.description</description>
      <default-view>view_documents</default-view>
      <subtypes>
        <type>BlogPost</type>
        <type>ContextualLink</type>
      </subtypes>
      <layouts mode="any">
        <layout>blogcontainer</layout>
        <!-- The specifics are not shown for the moment. -->
        <!-- <layout>blog</layout> -->
      </layouts>
      <layouts mode="edit">
        <layout>blogcontainer</layout>
        <!-- The specifics are not shown for the moment. -->
        <!-- <layout>blog</layout> -->
      </layouts>
      <contentViews category="content">
        <contentView>document_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type id="BlogPost">
      <label>BlogPost</label>
      <icon>/icons/blogpage.png</icon>
      <bigIcon>/icons/blogpage_100.png</bigIcon>
      <category>SimpleDocument</category>
      <description>BlogPost.description</description>
      <default-view>view_documents</default-view>
      <layouts mode="any">
        <layout>heading</layout>
        <layout>webpage</layout>
        <!-- The specifics are not shown for the moment. -->
        <!-- <layout>blogpost</layout> -->
      </layouts>
      <layouts mode="edit">
        <layout>heading</layout>
        <layout>webpage</layout>
        <!-- The specifics are not shown for the moment. -->
        <!-- <layout>blogpost</layout> -->
        <layout>dublincore</layout>
      </layouts>
    </type>

    <type id="Workspace">
      <subtypes>
        <type>BlogSite</type>
      </subtypes>
    </type>

    <type id="Folder">
      <subtypes>
        <type>BlogSite</type>
      </subtypes>
    </type>

    <type id="OrderedFolder">
      <subtypes>
        <type>BlogSite</type>
      </subtypes>
    </type>

  </extension>

</component>